package cn.iocoder.yudao.module.ent.document.node;

import cn.iocoder.yudao.module.ent.document.BaseNode;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 软件著作权 节点
 */

@Document(indexName = "node_copyright")
@Data
public class NodeCopyright extends BaseNode {

    //公司数据加密id
    @Field(name = "cid", type = FieldType.Keyword)
    private String cid;

    @Field(name = "create_time", type = FieldType.Text)
    private String createTime;

    @Field(name = "code", type = FieldType.Long)
    private Long code;

    //版本号
    @Field(name = "batchNum", type = FieldType.Text)
    private String batchNum;

    //首次发表日期
    @Field(name = "firstDate", type = FieldType.Text)
    private String firstDate;

    //国籍
    @Field(name = "nationality", type = FieldType.Text)
    private String nationality;

    //登记日期
    @Field(name = "regDate", type = FieldType.Text)
    private String regDate;

    //登记号
    @Field(name = "regNo", type = FieldType.Text)
    private String regNo;

    //软件著作简称
    @Field(name = "shortName", type = FieldType.Text)
    private String shortName;

    //软件著作名称
    @Field(name = "softwareName", type = FieldType.Text)
    private String softwareName;

    //软件著作分类
    @Field(name = "softwareType", type = FieldType.Text)
    private String softwareType;

    //软件著作人
    @Field(name = "softwareWork", type = FieldType.Text)
    private String softwareWork;

    //行业分类
    @Field(name = "typeCode", type = FieldType.Text)
    private String typeCode;
}
